﻿using Microsoft.EntityFrameworkCore;

namespace JaegerDemo.DService.Host.Models;

public class DServiceDbContext : DbContext
{
    public DServiceDbContext(DbContextOptions<DServiceDbContext> options) : base(options)
    {
    }

    public DbSet<ValueAggregate> ValueAggregates { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseSqlite("Data Source=dservices.db");
    }
}